package com.zqy.common.util;

import java.util.UUID;

public class UUIDUtils {

    public static String getUUID1() {
        return UUID.randomUUID().toString().replace("-", "");
    }

    public static String getUUID2() {
        return UUID.randomUUID().toString().replace("-", "") + UUID.randomUUID().toString().replace("-", "");
    }

    public static String getUUID3() {
        return UUID.randomUUID().toString().replace("-", "") + UUID.randomUUID().toString().replace("-", "") + UUID.randomUUID().toString().replace("-", "");
    }

    public static void main(String[] args) {
        System.err.println(UUIDUtils.getUUID1());
        System.err.println(UUIDUtils.getUUID2());
        System.err.println(UUIDUtils.getUUID3());
    }
}
